﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WX.WMS.DataModel;
using WX.WMS.Common;

namespace WX.WMS.BLL
{
    public class StoreViewBLL:BaseBLL
    {
        private BaseDAO DAO = null;
        public StoreViewBLL()
        {
            DAO = new BaseDAO();
        }
        public IEnumerable<Store_View> GetStoreViewList()
        {
            var list = DAO.Store_Views.Where(WhereCondition);

            if (OrderCondition != "")
            {
                list = list.OrderBy(OrderCondition);
            }

            return list;
        }
    }
}
